package com.starblink.basic.style

import android.content.Context
import android.os.Build
import androidx.annotation.ColorRes
import androidx.annotation.StringRes
import androidx.core.content.ContextCompat
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView

fun Context.color(@ColorRes resId: Int) = ContextCompat.getColor(this, resId)

fun Fragment.color(@ColorRes resId: Int) = ContextCompat.getColor(this.requireContext(), resId)





